/*
 * @Author: zhangxin 411020991@qq.com
 * @Date: 2023-04-06 09:35:28
 * @LastEditors: zhangxin 411020991@qq.com
 * @LastEditTime: 2023-04-06 10:13:34
 * @FilePath: \CIMS-V6_Frontend\main\src\pages\404.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { history } from '@umijs/max';
import { Button, Result } from 'antd';
import React from 'react';

const NoFoundPage = () => (
  <Result
    status="404"
    title="404"
    subTitle="Sorry, the page you visited does not exist."
    extra={
      <Button type="primary" onClick={() => history.push('/')}>
        Back Home
      </Button>
    }
  />
);

export default NoFoundPage;
